import unittest
from poco.drivers.unity3d import UnityPoco
poco = UnityPoco()






class Shop(unittest.TestCase):
    def setUp(self) -> None:
        poco("ShopButton").click()
    def test_shop1(self):
        poco(text="碎片商店").click()
        poco("mButton_OpenPieceBoxBtn").click()
        if poco("TxtGetTips").exists() != False:
            poco("BtnOk").click()
        else:
            pass
         
    def tearDown(self) -> None:
        poco(texture="btn-fanhui")
